package com.healthbox.notifications.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chs
 * @since 2022-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("healthState")
public class HealthState implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 表编号
     */
    @TableId(value = "hid", type = IdType.AUTO)
    private Integer hid;

    /**
     * 手机号（账户）
     */
    @TableField("phoneNum")
    private String phoneNum;

    /**
     * 地址
     */
    private String address;

    /**
     * 健康状态（0低风险，1中风险，2高风险）
     */
    private Integer healthstate;


}
